﻿@model Domain.Entity.CarParkDetails
@using PresentationMVC.Infrastructure
@using (Html.BeginCollectionItem("JobBooking.CarParkDetails"))
{
    <li style="padding-bottom: 15px">
        <table>
            <tr>
                <td>@Html.LabelFor(model => model.CarParkPlace)
                </td>
                <td>
                    @Html.EditorFor(model => model.CarParkPlace)
                </td>
                <td>
                    @Html.ValidationMessageFor(model => model.CarParkPlace)
                </td>
            </tr>
            <tr>
                <td>@Html.LabelFor(model => model.WaitingTime)
                </td>
                <td>
                    @Html.EditorFor(model => model.WaitingTime)
                </td>
                <td>
                    @Html.ValidationMessageFor(model => model.WaitingTime)
                </td>
            </tr>
            <tr>
                <td>
                    <a href="#" onclick="$(this).parent().parent().parent().remove();">Delete</a>
                </td>
            </tr>
        </table>
    </li>
}
